//
//  HETWOpraetionView.h
//  HealthFamily
//
//  Created by 吴欧 on 2020/12/29.
//  Copyright © 2020 honglutec. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

/**
选择支付方式
*/
typedef NS_ENUM(NSInteger, HETWOpraetionType) {
    HETWOpraetionTypeEnd, // 过期或者结束
    HETWOpraetionTypeDocRefuse, // 医生拒绝
    HETWOpraetionTypeWhetherEnd, // 提示是否结束
};

typedef void(^operationActionBlock)(HETWOpraetionType type, NSInteger buttonIndex);


@interface HETWOpraetionView : UIView

@property (nonatomic, copy) operationActionBlock operationBlock;

- (instancetype)initWithFrame:(CGRect)frame withType:(HETWOpraetionType)type;

- (void)operationActionHandler:(operationActionBlock)block;

@end

NS_ASSUME_NONNULL_END
